package com.yangkunhong;

import com.yangkunhong.dao.UserDao;
import com.yangkunhong.pojo.User;

import java.util.List;

public class UserDaoTestPageData {
    public static void main(String[] args) {

        User user = new User();
        user.setUsername("test300");
        user.setPassword("123456");
        user.setCreateAt("2024-06-13 10:10:10");
        user.setCreateIp("127.0.0.1");
        List<User> userList = UserDao.findUserListByUsername(user, 1, 10);
        System.out.println(userList.size());
        System.out.println(userList);

    }
}
